package com.yinhechuangji.application.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

public class UserBase implements Serializable {
	private static final long serialVersionUID = 1L;

	/*
	 * 注册日期（开始）
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date startCreateTime;
	/*
	 * 注册日期（结束）
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date endCreateTime;

	/*
	 * 出生日期（开始）
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date startBirthday;

	/*
	 * 出生日期（结束）
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date endBirthday;

	/*
	 * 合伙人识别码
	 */
	private String partnerPin;

	/*
	 * 操作人姓名
	 */
	private String operateName;

	/*
	 * 空角色标识
	 */
	private String roleIsNull;

	/**
	 * 用户基础信息id
	 */
	private String userBaseId;
	/**
	 * 电话号
	 */
	private String phoneNumber;

	/**
	 * 原号码
	 */
	private String originalPhoneNumber;

	/**
	 * 昵称
	 */
	private String nickName;
	/**
	 * 密码
	 */
	private String password;
	/**
	 * 实名
	 */
	private String realName;
	/**
	 * 身份证号
	 */
	private String identityCardNumber;
	/**
	 * 实名认证类型（0：身份证，1：护照）
	 */
	private Integer identityType;
	/**
	 * 实名认证附件（前面）
	 */
	private String cardFront;
	/**
	 * 实名认证附件（背面）
	 */
	private String cardBehind;
	/**
	 * 1：是 是否进行实名认证（0：为提交实名认证信息（），1：以提交实名认证信息在等待审核，2：审核通过）
	 */
	private Integer isAuthentication;
	/**
	 * 角色集合1：顾客，2：商家，3：东家 例：（1，2，3）
	 */
	private String roleType;
	/**
	 * 是否删除 0：否 1：是
	 */
	private Integer isDelete;
	/**
	 * 修改时间
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
	/**
	 * 创建日期
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	/**
	 * 身份证开始日期
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date identityStartTime;
	/**
	 * 身份证结束日期
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date identityEndTime;

	/**
	 * 性别（0：女，1：男）
	 */
	private Integer gender;
	/**
	 * 帐号状态（0：实名认证未通过，1：风控正在审核，2：风控审核成功等待财务审核，3：财务审核成功并放款，4：风控审核失败，5财务审核失败）
	 */
	private Integer accountsStatus;
	/**
	 * 身份证地址
	 */
	private String identityAddress;
	/**
	 * 民族
	 */
	private String ethnic;
	/**
	 * 生日
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date birthday;
	/**
	 * 帐号是否激活,首次登录(0:未激活，1：已激活)
	 */
	private Integer isActivation;
	/**
	 * 是否手机认证（0：否，1：是）
	 */
	private Integer authenticationPhone;
	/**
	 * 是否邮箱认证（0：否，1：是）
	 */
	private Integer AuthenticationMail;

	/** 省级编码 */
	private String provinceCode;

	/** 市级编码 */
	private String cityCode;

	/** 县级编码 */
	private String countyCode;

	/** 现住址 */
	private String residence;
	/** 操作人主键 */
	private String operateSysuserId;
	/** 绑定邮箱 */
	private String email;
	/**实名认证Id*/
	private String ticketId;

	public String getTicketId() {
		return ticketId;
	}

	public void setTicketId(String ticketId) {
		this.ticketId = ticketId;
	}

	public String getUserBaseId() {
		return userBaseId;
	}

	public void setUserBaseId(String userBaseId) {
		this.userBaseId = userBaseId;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getIdentityCardNumber() {
		return identityCardNumber;
	}

	public void setIdentityCardNumber(String identityCardNumber) {
		this.identityCardNumber = identityCardNumber;
	}

	public Integer getIdentityType() {
		return identityType;
	}

	public void setIdentityType(Integer identityType) {
		this.identityType = identityType;
	}

	public String getCardFront() {
		return cardFront;
	}

	public void setCardFront(String cardFront) {
		this.cardFront = cardFront;
	}

	public String getCardBehind() {
		return cardBehind;
	}

	public void setCardBehind(String cardBehind) {
		this.cardBehind = cardBehind;
	}

	public Integer getIsAuthentication() {
		return isAuthentication;
	}

	public void setIsAuthentication(Integer isAuthentication) {
		this.isAuthentication = isAuthentication;
	}

	public String getRoleType() {
		return roleType;
	}

	public void setRoleType(String roleType) {
		this.roleType = roleType;
	}

	public Integer getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getIdentityStartTime() {
		return identityStartTime;
	}

	public void setIdentityStartTime(Date identityStartTime) {
		this.identityStartTime = identityStartTime;
	}

	public Date getIdentityEndTime() {
		return identityEndTime;
	}

	public void setIdentityEndTime(Date identityEndTime) {
		this.identityEndTime = identityEndTime;
	}

	public Integer getGender() {
		return gender;
	}

	public void setGender(Integer gender) {
		this.gender = gender;
	}

	public Integer getAccountsStatus() {
		return accountsStatus;
	}

	public void setAccountsStatus(Integer accountsStatus) {
		this.accountsStatus = accountsStatus;
	}

	public String getIdentityAddress() {
		return identityAddress;
	}

	public void setIdentityAddress(String identityAddress) {
		this.identityAddress = identityAddress;
	}

	public String getEthnic() {
		return ethnic;
	}

	public void setEthnic(String ethnic) {
		this.ethnic = ethnic;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public Integer getIsActivation() {
		return isActivation;
	}

	public void setIsActivation(Integer isActivation) {
		this.isActivation = isActivation;
	}

	public Integer getAuthenticationPhone() {
		return authenticationPhone;
	}

	public void setAuthenticationPhone(Integer authenticationPhone) {
		this.authenticationPhone = authenticationPhone;
	}

	public Integer getAuthenticationMail() {
		return AuthenticationMail;
	}

	public void setAuthenticationMail(Integer authenticationMail) {
		AuthenticationMail = authenticationMail;
	}

	public String getProvinceCode() {
		return provinceCode;
	}

	public void setProvinceCode(String provinceCode) {
		this.provinceCode = provinceCode;
	}

	public String getCityCode() {
		return cityCode;
	}

	public void setCityCode(String cityCode) {
		this.cityCode = cityCode;
	}

	public String getCountyCode() {
		return countyCode;
	}

	public void setCountyCode(String countyCode) {
		this.countyCode = countyCode;
	}

	public String getResidence() {
		return residence;
	}

	public void setResidence(String residence) {
		this.residence = residence;
	}

	public String getOperateSysuserId() {
		return operateSysuserId;
	}

	public void setOperateSysuserId(String operateSysuserId) {
		this.operateSysuserId = operateSysuserId;
	}

	public Date getStartCreateTime() {
		return startCreateTime;
	}

	public void setStartCreateTime(Date startCreateTime) {
		this.startCreateTime = startCreateTime;
	}

	public Date getEndCreateTime() {
		return endCreateTime;
	}

	public void setEndCreateTime(Date endCreateTime) {
		this.endCreateTime = endCreateTime;
	}

	public Date getStartBirthday() {
		return startBirthday;
	}

	public void setStartBirthday(Date startBirthday) {
		this.startBirthday = startBirthday;
	}

	public Date getEndBirthday() {
		return endBirthday;
	}

	public void setEndBirthday(Date endBirthday) {
		this.endBirthday = endBirthday;
	}

	public String getPartnerPin() {
		return partnerPin;
	}

	public void setPartnerPin(String partnerPin) {
		this.partnerPin = partnerPin;
	}

	public String getOperateName() {
		return operateName;
	}

	public void setOperateName(String operateName) {
		this.operateName = operateName;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getOriginalPhoneNumber() {
		return originalPhoneNumber;
	}

	public void setOriginalPhoneNumber(String originalPhoneNumber) {
		this.originalPhoneNumber = originalPhoneNumber;
	}

	public String getRoleIsNull() {
		return roleIsNull;
	}

	public void setRoleIsNull(String roleIsNull) {
		this.roleIsNull = roleIsNull;
	}

	@Override
	public String toString() {
		return "UserBase [startCreateTime=" + startCreateTime + ", endCreateTime=" + endCreateTime + ", startBirthday="
				+ startBirthday + ", endBirthday=" + endBirthday + ", partnerPin=" + partnerPin + ", operateName="
				+ operateName + ", userBaseId=" + userBaseId + ", phoneNumber=" + phoneNumber + ", originalPhoneNumber="
				+ originalPhoneNumber + ", nickName=" + nickName + ", password=" + password + ", realName=" + realName
				+ ", identityCardNumber=" + identityCardNumber + ", identityType=" + identityType + ", cardFront="
				+ cardFront + ", cardBehind=" + cardBehind + ", isAuthentication=" + isAuthentication + ", roleType="
				+ roleType + ", isDelete=" + isDelete + ", updateTime=" + updateTime + ", createTime=" + createTime
				+ ", identityStartTime=" + identityStartTime + ", identityEndTime=" + identityEndTime + ", gender="
				+ gender + ", accountsStatus=" + accountsStatus + ", identityAddress=" + identityAddress + ", ethnic="
				+ ethnic + ", birthday=" + birthday + ", isActivation=" + isActivation + ", authenticationPhone="
				+ authenticationPhone + ", AuthenticationMail=" + AuthenticationMail + ", provinceCode=" + provinceCode
				+ ", cityCode=" + cityCode + ", countyCode=" + countyCode + ", residence=" + residence
				+ ", operateSysuserId=" + operateSysuserId + ", email=" + email + "]";
	}

}